/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.conformPrinciple.LSP.Impl;

import za.ac.cput.conformPrinciple.LSP.Rectangle;
import za.ac.cput.conformPrinciple.LSP.Square;

/**
 *
 * @author Oceanwave
 */
public class SquareImp implements Square 
{
    int width, height;

    public int getHeight() 
    {
        return height;
    }

    public void setHeight(int height) 
    {
        this.height = height;
        this.width = height;
    }

    public int getWidth() 
    {
        return width;
    }

    public void setWidth(int width) 
    {
        this.height = height;
        this.width = width;
    }
    
}
